import request from "@/utils/request";


// 添加或取消-收藏币对
export function addDelColl(data: object) {
  return request({
    url: "/spot/his/addDelColl",
    method: "post",
    data,
  });
}

// 查询行情分类对应的所有币对
export function getAllCoin(assortId: string,userId: string) {
  return request({
    url: `/spot/his/getAllCoin/${assortId}/${userId}`,
    method: "get",
  });
}
